{
	name:"Circle3p",
	tool:"./paint_tool/circles/circle3p.shape",
	_extends : {
		key:"AbstractTool",
		path:"./paint_tool/abstract-tool.action"
	},
	onInit(){
		this.stepSize = 3
		this.moveSize = 2
		this.ctrlIndex = 3
	},
	onFoucsIn(){
		this.toast({text:"请连续选择三个点",timeOut:3000})
	},
	getCircleMeta(stepData){
		let step = stepData.step
		let cp = Math.calcCircleCenter(step)
		let r = Math.distance(cp,step[0])
		return {x:cp.x,y:cp.y,r}
	}
}